# Maintainer: David Runge <dvzrv@archlinux.org>

pkgname=kxstudio-lv2-extensions
pkgver=2022.09.28
pkgrel=2
pkgdesc="Custom LV2 Extensions used in several KXStudio projects"
arch=(any)
url="https://github.com/KXStudio/LV2-Extensions"
license=(ISC)
makedepends=(git)
source=($pkgname::git+https://github.com/KXStudio/LV2-Extensions#tag=${pkgver//./-}?signed)
md5sums=('SKIP')
validpgpkeys=('62B11043D2F6EB6672D93103CDBAA37ABC74FBA0') # falkTX <falktx@falktx.com>

package() {
  make DESTDIR="$pkgdir" PREFIX=/usr install -C $pkgname
  install -vDm 644 $pkgname/LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
  install -vDm 644 $pkgname/README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
}
